﻿<%@ Page Title="" Language="C#" AutoEventWireup="true" CodeBehind="DisplayReviewFileComments.aspx.cs" Inherits="CodeDemon.Views.Review.DisplayReviewFileComments" %>

<% var fc = from ReviewFileComment in ViewData.Model.DAO.GetReviewFileCommentsByReviewFileId(ViewData.Model.CurrentReviewFileID) select ReviewFileComment; %>

<% foreach( var c in fc) {
       
        %>
        
        <div class="reviewComment sev<%= c.SeverityName %>">
            <a name="<%= c.ReviewFileCommentID %>"></a><span class="commentDetails"><%= c.ReviewUserEmail %> on <%= c.CommentTimestamp %>&nbsp;&nbsp;<img src="/CodeDemon/Content/P<%= c.Priority %>.gif" alt="Priority <%= c.Priority %>" />&nbsp;&nbsp;SEV:<%= c.SeverityName %></span>
            <div class='commentText'><%=c.CommentText %></div>
        </div>
        
        <%} %>